Add operation log related interfaces#92
Merged
downdawn merged 9 commits intofastapi-practices:masterfrom Jun 5, 2023
wu-clan:add-opera-log
Merged
Add operation log related interfaces#92downdawn merged 9 commits intofastapi-practices:masterfrom wu-clan:add-opera-log
downdawn merged 9 commits intofastapi-practices:masterfrom
wu-clan:add-opera-log
Conversation
Member
Author
|
I have tried some efforts, but there seems to be a problem with using request bodies in middleware for Starlette version 0.27.0, see Kludex/starlette#2026 for details. |
Member
Author
|
I think it is possible to merge this PR ahead of time, provided that the problematic code is commented out and a new PR is opened to fix it after Starlette is updated. |
Member
Author
|
Hi, @downdawn Any ideas? |
Collaborator
|
No problem. I suggest keeping the MIDDLEWARE_ACCESS because this middleware has become complex now and there may be some unknown issues. |
Collaborator
|
Some native methods. |
downdawn
approved these changes
Jun 5, 2023
Member
Author
I will restore it. |
Member
Author
No problem at all. |
Member
Author
|
TBR. |
chuxijin
pushed a commit
to chuxijin/fba
that referenced
this pull request
Feb 8, 2026
* Add operation log related interfaces * Update to native ASGI middleware * add the opera model class to the __init__.py * Executable code collation * Reply to the access middleware * Using the request extension params in the login log * Fix the whitelist list * Fix username resolution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is a problem with this middleware that needs to be addressed.
WIP.